package com.swas.dao;

import com.swas.entity.PatrolPlan;
import com.swas.entity.PatrolPlanExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PatrolPlanMapper {
    long countByExample(PatrolPlanExample example);

    int deleteByExample(PatrolPlanExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PatrolPlan record);

    int insertSelective(PatrolPlan record);

    List<PatrolPlan> selectByExample(PatrolPlanExample example);

    PatrolPlan selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PatrolPlan record, @Param("example") PatrolPlanExample example);

    int updateByExample(@Param("record") PatrolPlan record, @Param("example") PatrolPlanExample example);

    int updateByPrimaryKeySelective(PatrolPlan record);

    int updateByPrimaryKey(PatrolPlan record);
}